package com.ndp.fb.rdb.model.prepublish;


import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import com.ndp.fb.redis.model.AdCreativeLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 预发布--创意
 * Created by evan.wan on 2015/6/30.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("t_pre_ad_creative")
public class PreAdCreative extends AdCreativeLevel {
    @Id
    private Long id;
    //fb_page_id
    private Long fbPageId;
    //image_id
    private Long imageId;
    //image_visit_path
    private String imageVisitPath;      //我们系统nfs图片
    //image_lit_img_url
    private String imageLitImgUrl;      //我们系统图片小图
    //fb_url
    private String fbUrl;
    //fb_video_id
    private Long fbVideoId;
    //image_hash
    private String imageHash;
    //object_store_url
    private String objectStoreUrl;
    //ad_title
    private String adTitle;
    //call_to_action_type
    private String callToActionType;    //创意-行动号召
    //ad_word
    private String adWord;
    //exception
    private String exception;
    //image_name
    private String imageName;
    @Column(value = "ins_act_id", type = ColumnType.Long)
    private Long insAccountId;
    //out_link
    private String outLink;//外链广告的链接地址；
    //out_caption
    private String outCaption;//外链广告的显示地址；
    //out_desc
    private String outDesc;//外链广告描述；
    /**
     * 图片信息:包括图片地址，小标题
     */
    //image_info
    private String imageInfo;
}
